package com.example.admin.mapper;

import com.example.admin.bean.NursingPlan;
import com.example.admin.bean.NursingProjectPlan;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface NursingPlanmapper {
    List<NursingPlan> searchingforlist(NursingPlan nursingProject);

    void save(NursingPlan nursingProject);

    void savePlanAndProjectList(List<NursingProjectPlan> nursingProjectPlan);

    NursingPlan findbyid(Long id);

    Integer edit(NursingPlan nursingProject);

    Integer fixstatus(@Param("id") Long id, @Param("status") Integer status);

    Integer delete(Long id);
}

